cmake_minimum_required(VERSION 3.0.2)
project(hk_vision)

add_compile_options(-std=c++11)
set(CMAKE_CXX_STANDARD 11)


find_package(catkin REQUIRED COMPONENTS
  roscpp
  rospy
  std_msgs
  sensor_msgs
  cv_bridge
  image_transport
  # tf
)

find_package(OpenCV REQUIRED)

catkin_package(
)

include_directories(
  include
  ${catkin_INCLUDE_DIRS}
  /opt/MVS/include
)

link_directories(/opt/MVS/lib/aarch64)

add_executable(MV_cam_pub src/MV_cam_pub.cpp)
add_dependencies(MV_cam_pub ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS} )
target_link_libraries(MV_cam_pub
  ${catkin_LIBRARIES}
  MvCameraControl
  ${OpenCV_LIBS}
)


